//
//  JGHttpDNS.h
//  LightPlaySDK
//
//  Created by jagger.tu on 2025/5/7.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface JGHttpDNS : NSObject

+ (NSString *)resolveHostWithUrl:(NSString *)url result:(BOOL* _Nullable)pResult;
+ (NSString *)resolveHostWithUrl:(NSString *)url;
+ (NSString *)resolveHost:(NSString *)host ;
+ (BOOL)isIpDomain:(NSString *)url;
+ (NSString *)getDomainWithUrl:(NSString *)url;

@end

NS_ASSUME_NONNULL_END
